package Serialize;

import java.io.Serializable;
import java.util.Vector;

public class StudentList implements Serializable
{
	Vector list = new Vector();
	
	public void addStudent(String value)
	{
		if(value != null)
			list.addElement(value);
	}
	
	public void listStudents()
	{
		for(int i=0; i<list.size(); i++)
			System.out.println("Student " + i + ": " + list.get(i));
	}
	
}
